home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3.2
/
Ham Radio Version 3.2 (Chestnut CD-ROMs)(1993).ISO
/
packet
/
n17jsrc
/
rlogin.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-09-29
|
699b
|
22 lines
#ifndef NULLRLOGIN
#define LINESIZE 256 /* Length of local editing buffer */
/* Rlogin protocol control block */
struct rlog_cli {
char state;
#define RLOGIN_NONE_STATE 0
#define RLOGIN_PORT_STATE RLOGIN_NONE_STATE+1
#define RLOGIN_OPEN_STATE RLOGIN_PORT_STATE+1
struct session *session; /* Pointer to session structure */
struct proc *input; /* net -> console */
struct proc *output; /* console -> net */
};
#define NULLRLOGIN (struct rlogin_cli *)NIL
/* In rlogcli.c: */
void rlogin_input __ARGS((int unused,void *tn1,void *p));
void rlogin_upload __ARGS((int unused,void *sp1,void *p));
#endif /* RLOGIN_PORT */